<h2>Rajut</h2>
<div class="inline">
	<div class="border1 bgyellow padding5">
		<span class="inline width100">No Lap</span>
		<span class="inline width100">Tanggal</span>
		<span class="inline width100">Tipe</span>
		<span class="inline width150">Nama 1</span>
		<span class="inline width150">Nama 2</span>
		<span class="inline width150">Nama 3</span>
		<span class="inline width100">Rajut</span>
		<span class="inline width100">Keterangan</span>
	</div>
	<?php
		$total = 0;
		foreach($query_rajut->result() as $row):
			$total += $row->rajut;
	?>
	<div class="border1 padding5">
		<span class="inline width100"><?php echo $row->nolap; ?></span>
		<span class="inline width100"><?php echo $row->tanggal; ?></span>
		<span class="inline width100"><?php echo $row->tipe; ?></span>
		<span class="inline width150"><?php echo $row->nama1; ?></span>
		<span class="inline width150"><?php echo $row->nama2; ?></span>
		<span class="inline width150"><?php echo $row->nama3; ?></span>
		<span class="inline width100"><?php echo $row->rajut; ?></span>
		<span class="inline width100"><?php echo $row->keterangan; ?></span>
	</div>
	<?php
		endforeach;
	?>
	<div class="border1 padding5">
		<b>
		<span class="inline width750">Jumlah</span>
		<span class="inline width15"></span>
		<span class="inline width300"><?php echo $total;?></span>
		</b>
	</div>
</div>
<hr/>

<h2>Obras</h2>
<div class="inline">
	<div class="border1 bgyellow padding5">
		<span class="inline width100">No Lap</span>
		<span class="inline width100">Tanggal</span>
		<span class="inline width100">Tipe</span>
		<span class="inline width450">Nama</span>
		<span class="inline width5"></span>
		<span class="inline width100">Obras</span>
		<span class="inline width100">Keterangan</span>
	</div>
	<?php
		$total = 0;
		foreach($query_obras->result() as $row):
			$total += $row->jumlah;
	?>
	<div class="border1 padding5">
		<span class="inline width100"><?php echo $row->nolap; ?></span>
		<span class="inline width100"><?php echo $row->tanggal; ?></span>
		<span class="inline width100"><?php echo $row->tipe; ?></span>
		<span class="inline width450"><?php echo $row->nama; ?></span>
		<span class="inline width5"></span>
		<span class="inline width100"><?php echo $row->jumlah; ?></span>
		<span class="inline width100"><?php echo $row->keterangan; ?></span>
	</div>
	<?php
		endforeach;
	?>
	<div class="border1 padding5">
		<b>
		<span class="inline width750">Jumlah</span>
		<span class="inline width15"></span>
		<span class="inline width300"><?php echo $total;?></span>
		</b>
	</div>
</div>
<hr/>

<h2>Setter</h2>
<div class="inline">
	<div class="border1 bgyellow padding5">
		<span class="inline width100">No Lap</span>
		<span class="inline width100">Tanggal</span>
		<span class="inline width100">Tipe</span>
		<span class="inline width450">Nama</span>
		<span class="inline width5"></span>
		<span class="inline width100">Setter</span>
		<span class="inline width100">Keterangan</span>
	</div>
	<?php
		$total = 0;
		foreach($query_setter->result() as $row):
			$total += $row->jumlah;
	?>
	<div class="border1 padding5">
		<span class="inline width100"><?php echo $row->nolap; ?></span>
		<span class="inline width100"><?php echo $row->tanggal; ?></span>
		<span class="inline width100"><?php echo $row->tipe; ?></span>
		<span class="inline width450"><?php echo $row->nama; ?></span>
		<span class="inline width5"></span>
		<span class="inline width100"><?php echo $row->jumlah; ?></span>
		<span class="inline width100"><?php echo $row->keterangan; ?></span>
	</div>
	<?php
		endforeach;
	?>
	<div class="border1 padding5">
		<b>
		<span class="inline width750">Jumlah</span>
		<span class="inline width15"></span>
		<span class="inline width300"><?php echo $total;?></span>
		</b>
	</div>
</div>
<hr/>